@import "./badge.vars";

// Badge
// --------------------------------------------------

ion-badge {
  @include font-smoothing();
  @include padding($badge-padding-top, $badge-padding-end, $badge-padding-bottom, $badge-padding-start);
  @include text-align(center);

  display: inline-block;

  min-width: $badge-min-width;

  font-size: $badge-font-size;
  font-weight: $badge-font-weight;

  line-height: 1;

  white-space: nowrap;
  vertical-align: baseline;

  contain: content;
}

ion-badge:empty {
  display: none;
}
